package com.lebang.mapper;

import com.lebang.entity.member.LbbMemberFocus;
import com.lebang.example.LbbMemberFocusExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface LbbMemberFocusMapper {
    long countByExample(LbbMemberFocusExample example);

    int deleteByExample(LbbMemberFocusExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LbbMemberFocus record);

    int insertSelective(LbbMemberFocus record);

    List<LbbMemberFocus> selectByExample(LbbMemberFocusExample example);

    LbbMemberFocus selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LbbMemberFocus record, @Param("example") LbbMemberFocusExample example);

    int updateByExample(@Param("record") LbbMemberFocus record, @Param("example") LbbMemberFocusExample example);

    int updateByPrimaryKeySelective(LbbMemberFocus record);

    int updateByPrimaryKey(LbbMemberFocus record);

    LbbMemberFocus selectByCodeAndOpenId(@Param("code") String code, @Param("fromer") String fromer);
}